import moment from "moment/moment";
import {messages} from "share/common";
export default {
  getPlane(){
    return [
      {
        title:messages('financial-management.key39'/*序号*/),key:'index',dataIndex:'index',
      },
      {
        title:messages('senior-service-open.key58')/*订单状态*/,key:'orderStatus',dataIndex:'orderStatus',
      },
      {
        title:messages('request.key110'/*订单号*/),key:'orderId',dataIndex:'orderId',
      },
      {
        title:messages('supplier.key439')/*订单生成时间*/,key:'createTime',dataIndex:'createTime',
        render:(value)=> moment(value).format('YYYY-MM-DD HH:mm:ss'),
      },
      {          /*预订人*/
        title: messages('supplier.key438')/*预订人*/, key: "preEmployName", dataIndex: 'preEmployName',
      },
      {          /*乘机人*/
        title: messages('financial-management.key46'/*乘机人*/), key: "passengerName", dataIndex: 'passengerName',
      },
      {          /*关联行程号*/
        title: messages('financial-management.key43'/*关联行程号*/), key: "journeyId", dataIndex: 'journeyId',
      },
      {          /*出发城市*/
        title: messages('financial-management.key47'/*出发城市*/), key: "dcityName", dataIndex: 'dcityName',
      },
      {          /*到达城市*/
        title: messages('financial-management.key48'/*到达城市*/), key: "acityName", dataIndex: 'acityName',
      },
      {          /*航班号*/
        title: messages('request.key76'/*航班号*/), key:'flight', dataIndex:'flight',
      },
      {          /*舱位*/
        title: messages('request.key62'/*舱位*/), key: "className", dataIndex: 'className',
      },
      {          /*起飞时间*/
        title: messages('financial-management.key49'/*起飞时间*/), key: "takeoffTime", dataIndex: 'takeoffTime',
      },
      {
        title: messages('supplier.key436')/*服务商*/, key: "sourceVendor", dataIndex: 'sourceVendor',
      },
    ];
  },
}
